const {ccclass, property} = cc._decorator;

@ccclass
export default class LoginComponent extends cc.Component {

  

    onLoad() {
        // init logic
        
    }

    login(){
        console.log("用户登录")
        cc.director.loadScene("checkpoint")
    }
}
